import Layout from '@/layout'
// import EmptyLayout from '@/layout/empty'

export default {
    path: '/indentManage',
    component: Layout,
    redirect: '/indentManage/list',
    name: 'indentManage',
    meta: {
        title: '订单管理',
        icon: 'indent',
        activeMenu: '/indentManage/list'
    },
    children: [
        {
            path: 'list',
            name: 'indentList',
            component: () => import(/* webpackChunkName: 'indent_manage' */ '@/views/indent_manage/indent/index'),
            meta: {
                title: '订单列表',
                sidebar: false
            },
            children: [
                {
                    path: '',
                    component: () => import(/* webpackChunkName: 'indent_manage' */ '@/views/indent_manage/indent/index'),
                    meta: {
                        title: '订单管理',
                        sidebar: false,
                        breadcrumb: false,
                        activeMenu: '/indentManage'
                    }
                }
                // {
                //     path: 'edit/:id',
                //     name: 'indentEdit',
                //     component: () => import(/* webpackChunkName: 'indent_manage' */ '@/views/indent_manage/indent/detail'),
                //     meta: {
                //         title: '编辑订单',
                //         sidebar: false,
                //         activeMenu: '/indent_manage/indent'
                //     }
                // }
            ]
        }
        // {
        //     path: 'afterSale',
        //     name: 'afterSale',
        //     component: EmptyLayout,
        //     redirect: '/afterSale',
        //     meta: {
        //         title: '售后订单'
        //     },
        //     children: [
        //         {
        //             path: '',
        //             component: () => import(/* webpackChunkName: 'indent_manage' */ '@/views/indent_manage/afterSale/index'),
        //             meta: {
        //                 title: '售后订单',
        //                 sidebar: false,
        //                 breadcrumb: false
        //             }
        //         }
        //     ]
        // }
    ]
}
